﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface IBannerPhotoBll
    {
        Task<int> AddBannerPhotoAsync(string photoPath);
        Task<int> EditBannerPhotoAsync(int id, string photoPath);
        Task<int> DeleteBannerPhotoAsync(int id);
        Task<List<BannerPhotoDto>> GetBannerPhotoAllAsync();
        Task<BannerPhotoDto> QueryBannerPhotoByIdAsync(int id);
        //Task<List<BannerPhotoDto>> QueryBannerPhotoByNameAsync(string title);
    }
}
